package com.ruoyi.purchase.service;

import java.util.List;
import com.ruoyi.purchase.domain.TPurchaseOrderItem;

/**
 * 采购明细Service接口
 * 
 * @author ruoyi
 * @date 2025-09-24
 */
public interface ITPurchaseOrderItemService 
{
    /**
     * 查询采购明细
     * 
     * @param id 采购明细主键
     * @return 采购明细
     */
    public TPurchaseOrderItem selectTPurchaseOrderItemById(Long id);

    /**
     * 查询采购明细列表
     * 
     * @param tPurchaseOrderItem 采购明细
     * @return 采购明细集合
     */
    public List<TPurchaseOrderItem> selectTPurchaseOrderItemList(TPurchaseOrderItem tPurchaseOrderItem);

    /**
     * 新增采购明细
     * 
     * @param tPurchaseOrderItem 采购明细
     * @return 结果
     */
    public int insertTPurchaseOrderItem(TPurchaseOrderItem tPurchaseOrderItem);

    /**
     * 修改采购明细
     * 
     * @param tPurchaseOrderItem 采购明细
     * @return 结果
     */
    public int updateTPurchaseOrderItem(TPurchaseOrderItem tPurchaseOrderItem);

    /**
     * 批量删除采购明细
     * 
     * @param ids 需要删除的采购明细主键集合
     * @return 结果
     */
    public int deleteTPurchaseOrderItemByIds(Long[] ids);

    /**
     * 删除采购明细信息
     * 
     * @param id 采购明细主键
     * @return 结果
     */
    public int deleteTPurchaseOrderItemById(Long id);
}
